﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fileupload.aspx.cs" Inherits="AnyOffice.Web.general.system.netshareMager.fileupload" %>
<%@ Register Src="../../../Control/CheckRight.ascx" TagName="CheckRight" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>上传</title>
    <script type="text/javascript">
        function CheckForm() {
            if (form1.filup_name.value == "") {
                alert("请选择上传文件！");
                form1.filup_name.focus();
                return false;
            }
            return true;
        }

        function Backurl() {
            window.history.go(-1);
        }
    </script>
</head>
<body class="bodycolor">
    <form id="form1" runat="server">
     <div class="main_div">
     <table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
        <tr>
            <td class="Big">
                <img src="../../../images/fileshare/upload.gif" width="18" height="18" alt="" />
                <span class="big3">文件上传 </span>
            </td>
        </tr>
    </table>
     <br />
   <table class="small" cellspacing="1" cellpadding="2" width="70%" align="center" bgcolor="#000000"
                border="0">
	    <tr>
		    <td class="TableData" height="40" > 当前位置：</td>
		    <td class="TableData">
                <asp:Label ID="labl_path" runat="server" Text="/"></asp:Label>
		    </td>
	    </tr>
					
	    <tr>
		    <td class="TableData" >文件描述：</td>
		    <td class="TableData">
            <asp:TextBox ID="txt_key" TextMode="MultiLine" MaxLength="250" Width="70%"  Height="50" CssClass="BigInput"
            runat="server"></asp:TextBox></td>
	    </tr>
	    <tr>
		    <td class="TableData" height="40" >选择文件：<font color="red">*</font></td>
		    <td class="TableData">
                <asp:FileUpload ID="filup_name" runat="server" Width="70%" />
                <font color="red">上传文件大小为<%=upSize %> M以下</font><br />
                <asp:FileUpload ID="FileUpload1" runat="server" Width="70%" />
                <br />
                <asp:FileUpload ID="FileUpload2" runat="server" Width="70%" />
		    </td>
	    </tr>
	    <tr class="TableControl" align="center">
		    <td  colspan="2">
                <asp:Button ID="btnUpload" runat="server" CssClass="BigButton" Text="确 定" 
                    OnClientClick="return CheckForm();" onclick="btnUpload_Click"  />&nbsp;&nbsp;
			    <input class="BigButton" onclick="Backurl()" type="reset" value="返 回" />&nbsp;&nbsp;
		    </td>
	    </tr>
	</table>
    </div>
   <uc1:CheckRight ID="CheckRight1" runat="server" />
    </form>
</body>
</html>